/* 全局样式 */

/* 底部导航栏 */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: #ffffff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 100;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex: 1;
  color: #64748b;
  transition: color 0.3s ease;
}

.tab-item.active {
  color: #4facfe;
}

.tab-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.tab-text {
  font-size: 13px;
}

/* 中间的添加按钮 */
.add-button {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 101;
}

.add-button:active {
  transform: scale(0.92);
  box-shadow: 0 2px 6px rgba(79, 172, 254, 0.2);
}

.camera-icon {
  font-size: 24px;
  color: #ffffff;
}

/* 页面内容区域调整，为底部导航栏留出空间 */
.page-with-tabbar {
  padding-bottom: 90px;
}